{"version":3,"sources":["script.js"],"names":["window","JCNewsSlider","containerId","options","container","BX","sliderImages","findChildByClassName","imagesContainerClassName","sliderLeft","leftArrowClassName","sliderRight","rightArrowClassName","sliderControl","controlContainerClassName","slider","Init","prototype","this","time","type","threshold","allowedTime","startX","startY","startTime","bind","delegate","touchStart","touchEnd","sliderControls","findChildren","tagName","proxy","j","func","length","slideTo","slideLeft","slideRight","animation","p","parseInt","style","left","_this","fx","start","finish","callback","res","callback_start","callback_complete","adjustSliderControls","i","addClass","removeClass","e","touchObject","changedTouches","pageX","pageY","Date","getTime","preventDefault","distance","elapsedTime"],"mappings":"CAAA,SAAWA,GAEV,KAAMA,EAAOC,aACb,CACC,OAGDD,EAAOC,aAAe,SAAUC,EAAaC,GAE5C,GAAID,GAAeC,EACnB,CACC,IAAIC,EAAYC,GAAGH,GACnB,GAAIE,EACJ,CACC,IAAIE,EAAeD,GAAGE,qBAAqBH,EAAWD,EAAQK,yBAA0B,MACxF,IAAIC,EAAaJ,GAAGE,qBAAqBH,EAAWD,EAAQO,mBAAoB,MAChF,IAAIC,EAAcN,GAAGE,qBAAqBH,EAAWD,EAAQS,oBAAqB,MAClF,IAAIC,EAAgBR,GAAGE,qBAAqBH,EAAWD,EAAQW,0BAA2B,MAC1F,GAAIR,GAAgBG,GAAcE,GAAeE,EACjD,CACC,IAAIE,EAAS,IAAId,aACjBc,EAAOC,KAAKV,EAAcO,EAAeJ,EAAYE,OAMzDX,EAAOC,aAAagB,UAAUD,KAAO,SAASV,EAAcO,EAAeJ,EAAYE,GAEtFO,KAAKC,KAAO,GACZD,KAAKE,KAAO,cAEZF,KAAKG,UAAY,GACjBH,KAAKI,YAAc,IACnBJ,KAAKK,OAAS,EACdL,KAAKM,OAAS,EACdN,KAAKO,UAAY,EAEjBP,KAAKZ,aAAeA,EACpBD,GAAGqB,KAAKpB,EAAc,aAAcD,GAAGsB,SAAST,KAAKU,WAAYV,OACjEb,GAAGqB,KAAKpB,EAAc,WAAYD,GAAGsB,S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